package com.appkubes.portal.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.portal.core.dao.BasePortalAppDepartmentDao;
import com.appkubes.portal.core.entity.PortalAppDepartment;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

public interface BasePortalAppDepartmentService extends AbstractBaseService<BasePortalAppDepartmentDao, PortalAppDepartment> {

    PortalAppDepartment getOneByEntity(PortalAppDepartment entity);

    List<PortalAppDepartment> selectListByEntity(PortalAppDepartment entity);

    IPage<PortalAppDepartment> selectPageByEntity(IPage<PortalAppDepartment> page);
    IPage<PortalAppDepartment> selectPageByEntity(PageVO pageVO);

    IPage<PortalAppDepartment> selectPageByEntity(PortalAppDepartment entity, IPage<PortalAppDepartment> page);
    IPage<PortalAppDepartment> selectPageByEntity(PortalAppDepartment entity, PageVO pageVO);

    IPage<PortalAppDepartment> selectPageByEntity(PortalAppDepartment entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(PortalAppDepartment entity);
}
